import { get, post } from "@/plugin/axios";
export interface loginParams {
    account: string,
    password: string
}

export const loginFn = (p: loginParams) => post('/api/users/login', p)
export const getFnText = () => get('/api/users')